import request from '@/utils/unirequest';
import type { ISearchByPersonRequest, ISearchByPersonResponse } from './interface';

export default function SysAttendanceRecordApi() {
  return {
    // 按人员查询排班记录接口
    async searchByPerson(data: ISearchByPersonRequest): Promise<ISearchByPersonResponse> {
      return await request.post('/api/SysAttendanceRecord/SearchByPerson', data);
    }
  };
}

